obstacle class added