Remove unessacary function