add auto monitor stack operation mechanism