delete old function test