removed debug calls