removed commented out code and console logs