Rid of commented out code and useless console log