remove unnecessary function argument