modifying and testing grm