refining deploy