redoing deployment method