add deploy functions.