make functions in helper.php static to prevent non-static call in static context