added auto generated methods