Changed expression in console log to be more logical