add checks on form