add obstacle class