Based on Brom's work