adding log statement for debug purposes