Removing unwanted Functions and Label