halfway implemented feature, as described in #issue2