simplify creating direcn