add validation for creating new item