changed rate to hz and hz to rate for readability