remove type, rename method