check for obstalcles ahead