Added longText as a generic class