removed console log (used for debug)