added results table and CVR. refactored model