Code for Service Runtime Environment