Minor change
	- Added range check for frequency