Altered arrays to still work with php 5.3