Set default variable values for functions