Extracted shoal motion code