sketching out a solution for the solver at the moment