added object oriented reseplanerare