trying again to add cosine and adcosine