simplified backend encoding