delete int i, and delete partial method