work with var is object or not