first attempts at MAP/APP