added completion for references arrays