original cam code