Changing type to to collection