delete language method was rewritten