changed validation inclusion from using deprecated function to using .all