Simple application logic