Adding one line version of the function