Put things together and made a test, which seems to kinda work