remove old function that is now not needed