edited the helperfunctions file