Changed constructObject()