working with obstacle1 coordinates