-renamed main to wdrp