added shadowing mode
cleaned up html