Fixed procedure to match assignment 3 + Array