occMS* functions sped up