Attempt #1 of getting graphs working