No matter if you are using a code from internet, you need to adapt the code to your application, that means standards too, review all the standards of the class