coding decoding classes