removed old function from the header