adding and deleting validation for solutions done