freelist scrap functionality