answered 4 items in algorithm intermediate