consolidated all functions into index.html