Use just one handler to handle all links
Fix indentation