added reg form and more