add a new solid routine, clean up code