Replaced module function code with shorthand notation