Working on the data structure of available samples