some code being made pretty