removed debug print lines.