added missing code for copyright function