add cosine and further plots