add comment for servicemap subroutine