Added some best practice code.