init registers