found good title case function online. used it.