better approach - just add some encodings