added 2nd service function