created vars.stack_type variable