revise del method indentation problem