function patterns without parameters