Added a third value for x