replaced old inv methods with new ones