Modified Write method's param from []int8 to string