okay so now it times things right and also writes down the motifs