create program to get community list