stack_insert changed to stack_push