removes unecessary method