obstacle needs to be reworked a bit