demo for application interface