Scientists divide rocks into groups based on_________