 According to Tino 's account , on the day of the election , Selvo was attending mass for the funeral of the late Doge at the new monastery church of San Nicolò built under Domenico Contarini on Lido , an island in the Venetian Lagoon . The location was ideal for the funeral of a Doge not only because St Mark 's Basilica was under construction at the time , but the new church was also spacious enough to hold a fairly large number of people . The location also proved ideal for the election of a new Doge for the very same reasons . 
