CS381 work