add WriteHi class