making sure this works with 2 dir's