removed redundant function argument