method validation to be done