want an object, but had an int