working version with HelperClass