Defined variables, and solution