removed debug print staements.