reg form working