well, i got that code from this post. that is all really.