now we set the default value using codes