using string key instead of string for 'optimising'