taking code from internet