added validator to week 3