added R.class back in