The end of the book was very good because Mai was able to put those back in prison and when they were in prison she could finally start a new life safely

Add punctuation
The end of the book was very good because Mai was able to put those back in prison and when they were in prison, she could finally start a new life safely.