setting loading to be deferred