some work for registration form