minor changes to islands.cpp