finished adding figures to server.js