loading all data upfront