try to refactor importing modules