drafts for object constructor