preps for the deployment funcs