printing out variable in console