Avoid creating temporary variables if unnecessary