using inner class for static lookup tables, added javadoc comments