Added getAll to support vote graph