Added functionality for tearing.