Generation of standard function works from motifs