refact import code