changed function name postItem to createItem
reverted previous rename change