sine and cosine modulation added