added service checking