adding reusable apps functionality