Working version w/o halfing words