Setting up the solution