Default value can be set with a function