eliminated commented code and debugging print statements