chain.return implemented and tested