ServiceCheck class finished - version1