further work on return values