use global app object