inv is updated evenwhen open. SUPER DYNAMIC!