Added function end comments and lined everything up correctly