add inherits from restygwt