initial functionality
test on index.html