execute on initial function call