added lorem text generation functionality