constructor kludge