updated template to output 'availability'