Formatting
Formatting
Close inputs to avoid resource leaks