delete unwanted functions