CS246 work