added deploy method