corrected function and spec to remove unnecessary hundred