fix sp. in comment
refactor to improve elegance