added a 4th dimension for areas