original master code