parse registration