delete unnecessary methods.