add credits in three places for copied code.