optimising the imports