remove string decoder for simpler method