removed unused statement, added some logging