updated print to use rc_base