scrap addtohead(), that was a stupid idea.