Adjusted to my own style.