validating item before attempting to create it