A variety of codes