change in plot functions names
cosine merge