Added from-the-beginning option.