refactored adding mitochondria to separate functions