delete load funtcion