R: removed unneeded code used for old testing.