simplified proxy code