Added titlelize function