Imports usually got at the top of a file, is there a reason to have this import within the function?