commented function & removed debug print