edit class methods