little modification on percolation