last functions switched to new dao