changed from $this to $l in demo handler.php