Added upperCaseFirstWord function