removing test code
adding console.log