added create item function