改成class methods