Some code wrote before but useless now.