revert to use ivar's