correctly create member objects