integrating some funcitonnalities