Help with arm rig

I’m having trouble figuring out what the problem is with this rig. The vertex groups seem fine. I’ve definitely made some wrong moves though, because it does not move properly in pose mode and looks strange in weightpaint. Thanks for the help.Handfandarm .blend (836 KB)

This problem is Solved.