res dir needed