in reply to
requires explicit package name
I sincerely hope that you're using better indentation in your actual source code. If not, pick some kind of indentation style and follow it. Sloppy indentation leads to errors and makes code tedious to read and maintain. Most programmer's editors (take your pick, there are plenty of nodes discussing the merits of various editors) offer convenience features that either enforce or facilitate good indentation.
Please try to make sure your code is indented consistently when posting examples. It is rude to expect others to spend time sifting through a mess of code just to spot an error that would have been immediately obvious if the code were well-formatted. Writeup Formatting Tips includes some useful information you can use to make the code you post a little more readable.