Plus, the methods you should avoid.