copied more code
Added itemPanel