change getField to getDeclaredField