Add ability to record new codes