restarted using array