removed debug printsg