separated directory creation