added functions for "membership"