Example application code