change not to use data member