add a custom tie to bind multiple return values