int method added