add public api for app