version 2 of monte.c