removed debug method