Issue #2: Added some logs.