remove spare functions