Added log statement for debugging