Modified for dynamic load.