Some code wrote before but useless.