Fixing a few mistakes and adding sudoness