adapt mood with enhanced datastructures functions.