set code