- Updating the code to be able to run on PHP 5.3