Fixed without dummy encodings

This solution ignores dummy encodings