added load_all function - close #875