added phase, frequency and sine[] variables