A function to define lazily assigned values