Adding the lru ns written by @ph7 and others