added collection and some more app logic: