removed deprecated getOwnPropertyNames