Moved trim to helperFunctions file
Moved trim function to helperfunctions