add inventorypane class