added availability function for tritium