a much better example
AGAIN, NOT ROCKET SCIENCE
this should've existed a long time ago
updated documentation