added last_id hash