expand this example w/smart dir listings