add dir features