separate codes, and apply anytime span shoot methodology