removed debug print method