discarded generate method