adding more app logic