added support for multiple moving enemies