gets rudimentary output working