changed array syntax to be php 5.3 compliant