removed a consol.log for debugging