Define solution ()