Start mass extraction function