added a new rember function