Struggling to see why this won't work. It seems to return the correct numbers. Any help please. Thanks