encoder tested against crashing; still ned to test decoder compatibility