class gate