My version

slimmed down a bit.