remove old method def