add functions for number of members