Added pd2 array stuff