use []byte in place of string