Adding validation for possible sampling rates