imports should go at the top of the file unless they cause a circular import which shouldn't be the case here.