copyright added to the code