accept array of directories
changes