restructured

function calls from index3.html