creating functions-executor