p2,changed so button css,start or end function done