removed unneccessary function from crud file