modify to import for each condition