document buttons variables