item controller create function change