removed unecessary console logs.