Updated logic.html