add rake task to solve