implemented service code
service code and settings