added parsing for candidates