add deploy method