Factored out loads into functions