added method for getting members ids