first working prototype of the main activity