cleaned up code significantly. removed many comments, variables, and functions no longer needed