Delete end at private method