validation & testing