assign hash key & saving function call