you haven't defined a anywhere, you can only reference a in your package as that is where you have defined it, there is no such thing as a globally declared variable for the database