Revised Science Challenge code