changed return values of empty/destory for chaining