marginalize seems to be working now.