initial shot at doing stack garbage collection