Started on graph test page and functions