better documented my code