adding modelLoading functionality