Replace array definition