Capabilities

Pull request for the graph.

<!---
@huboard:{"order":395.25,"milestone_order":534,"custom_state":""}
-->

Yeah it was resetting the x variable. Yay pdb!