Added simple inventory functions