use strict and console.log safety