Removed unnecessary function argument