id checks in buildArray; code style