code for app server