closed #7, array should not be a type