printing output when correct