CS512 work