change sample and README as easier understanding