add function: set add/rm. and some ui