finished c187p1 easy version