added debug print statement