accidently used pop() instead of shift(), so the stacks were running each class of CF backwords. oops.