solved problem #46
Learned for :-)