commented static code which I used for checking myself with graph