added candidate search
rough start on cal