added title-case function problem