setup ivars before allocating array