simplify application logic