andrew's work for register form