finilizing imports functionality