added support for generic polygon areas