added new application logic