added sample code for app