w3schools tutorial continued, plus tweaks