inner classes issues