reduce the code from 3 lines to 1 line.