optimized code for readability
optimized code