This is clean. but do we need to define a function for one line code?