minor changes, enabled logger, removed unused import