Added the credits to some copied code