added inventory helper methods