It's pretty much direct - you can see how it works here, and probably spot the parts: