work in progress for proto binding