moved old stuff (user interface)
done till ex5 step 3