Added output and stuff