master code updated