added sine equation