Added comments and refactored functions_strings