initial commit of v0.50 code