cleaning, formatting and organising imports