removed extra commented code and console logs