store a code