deploy logic added