Added log statement when finished