updated new functions for DOMA