pack as a string