tweaked it for clarity and removed some content