remove never used function