add GUI, inventory code