Added Service function for the app