Taking out old function.