adapted a bit importForm