Trying to figure out how to get the console log to display x values