resgister almost complete