using grain and default value