More example and created a dir functions