validate inputs before trying to create
Actuall document soemthing