reformatted and cleaned up the code to meet python standards