this should work as described