CPL homework