temporary workarounds, not sure if i want to continue with mem/multiplexer