removed function isConstructed
code cleanup