dir and str