update to serial verion
parallel the first phase