added subdirs param