added a int methode