I really should draw gates more...