added server side processing to archived readings