checkbox for three different indexes