Using fancy new common.toArray() method
Cleaner code