some safety stuff