add function solved task