created if and console.log

if and console for matinee