working first version of application