Revert "init loading function"

This reverts commit 4b3932a9b44112abb75ad24d6c4bbd8a55910ddc.