const to rpl.h, to be fixedup