added deploy functions