remove unnecessary functions to scrapbook