removed console.log for debugging