use int method