updated comments, tasks, cleaned up indentation, removed numerical pin definitons from within functions