work on capreole and and linear waves with multiple codes