use new prefered way of importing mpl
use new prefered way of importing mpl, also for examples