add membership functions.