added inventory stuff