Used defineProperty instead