removing unnecessary code, cleaning up indentation, commenting code