Removed unnecessary function param