Break character details code in smaller pieces