minor changes in mapel program