override superclass function / pass array in