modified createItem to accept all values explicitly in arg list.