preperation for deployment