Remove uncessary function