added solutions and speed control