Working on the obstacle class