use of ByteString on self.hs