working import by removing hooks