adding in second parameter usage to prevent extract vulnerability