Implemented logic for move term, full stack, but needs more thorough
testing.