remove unussed methods an class