add deploy2, for oo programing