optimize the demo example
optimize selection method in first pictures story