Wrote how app should work