Added output and stdout method