register part almost complete

register part almost complete