added goto main (first quad)