added fcosine