updated to be sequential for APD and make sure it outputs all the
tracks!