add basic register