used python array syntax instead of php. my bad