optimizing imports