It would be a good habit on adding checks especially these snippets will now be used by the public =)