updated code, graph syntax, and styles