made sure everything validates