imports should go at the top of the file unless it causes a circular import which shouldn't be the case here I think