Added the wtach function to it.