add register feature