Update HelperFunctions.java