few console logs removed