changed gabe's try to understand method
Gabe's changed method