added ObjectStack utility