Added draft class for gates