added print statement for debugging