added server side multiple reference support