return [] if gets(key) not found