removing scrapped funcitons