change argument of validate