TO DO: obstacles and tracking