move import out of task