minor modification and add sample files