add in validation