add loading method