removed comments and cleaned up code.