input will return if passed object