oops, sizeof instead of length for array