remove hasOwnProperty check, not needed