removed debug statments.