console.log good

added console.log for when the var are true