change to better method.