reconfiguration the program with append method