finished title case code