manage codes