Auto array building working