Better use of path