added method to get selected obstacles for user