LUN-1813

function calls could be assigned to variables for readability