this is how to inherit/overload inner class