add dir order method