added directory getting