slight refactor for clarity
1.0.1