invoking functions