i think this should work, need to find somewhere to test this