Added crazy graph logic!