cleaned up code

removed troubleshooting code