Coding determination functions