Adding some actual application logic