adding r.binary to the protodef