make the method that should return an int return one