changed some graph things