Premises were allocated to intervention or control by optimally balancing by Environmental Health Officer capacity in each Local Authority , number of violent incidents in the 12months leading up to the start of the project and opening hours .