added sinusoid and related generation modes