add conditional statements

isTracked scene 3