Added a setTimeout to allow the data to come in from the server