added service validation