playing with MP code