adding in validation component