adding of key handling in Executor