renamed 'loaded' to 'available' and added some doc