removing old function call