removed redundant console.log
Added @ function.