add adaptor to random