updated services, encode-decode