check for omission of returning obj in constructor