debug method removed.