Forgot to output bufer...it prints something but not what it's supposed to