(working) baby step towards app logic