adds auto-complete for keys