change: unused functions has been removed.