Add rudimentary output, fix how it actually works