added recursive lookup of entries