final CV code for running on the desktop?