Graph fixed to work on Vovan's compiter