swap for anon sub