use sec_key as id and create the fixed array