Shift variable out

Shift variable out from loading() method which is not needed.