hooks and default values