unit test changes from peer review and comment regarding readable function