you could construct this path only once up-front (I only comment because you use two different methods for constructing it ;-) )