nested constructs now seem to work