cleaned up and deleted redundant code