Wave loading logic implemented.