reproduces the old behavior