Rak AOM and Pim implementation