did some quick tests, seems to work ok