first working output. not pretty