updated initialize function RMEs