added obstacle avoider code