master code for first release