cosme code