added application logic