adding loadSucces, loadError and loadprogress callbacks