figured out how dirs work