conditionally defining Rrod module