implement the onBlur thingie