Better solution for default value