add background subtraction to motion detection