Add helper function inside framework