implement insert on MaxPrio