Coding model