validation is basically done