overload new/delete in slice as example