remove dead method