adds a deploy method