added validation
create operation