Added key variable