delete few reduntant function