use byte[] for key and value