duration fixed, adding imports for spatials