Think I tabified the indents
changed variable name from sID -> service_code
removed debugging print statements