modified code and item schema