cleans up commented code and printf's