optimizes imports