finsh resolving cst. need more test