removed debugging console.log() call