first version of working app