upload code for version 1.2