cleaned up puts statements and deleted up partial no longer needed