ref #27 corrected error in last commit