Moved log statement