new deploy method